<div ng-controller="H5hdCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'H5活动'| translate}}</li>
        <li>{{'List'|translate}}
            <a href="#/h5hd/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right"> 
          
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
                <th>{{'公众号'|translate}}</th>
                <th>{{'title'|translate}}</th>
                <th>{{'剩余时间'|translate}}</th>
                <th>{{'访问地址'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in h5hd_list">
                <td>{{list.h5hd_id}}</td>
                <td>
                    <wx-app-list ng-model="list.gzh_appid" stype="1" ary="storeary" xc="1"> </wx-app-list>
                </td>
                <td>{{list.title}}</td>
                <td>{{list.diff_time?list.diff_time:'已结束'}}</td>
                <td> http://{{list.gzh_appid}}.gzh.dhfapp.com/h5/#/huodong/index?h5hd_id={{list.h5hd_id}} </td>
                <td>
                    <a href="#/h5hd/add?h5hd_id={{list.h5hd_id}}" class="sui-btn btn-primary"> {{'edit'|translate}} </a> 
                    <a href="#/h5hddetail/list?h5hd_id={{list.h5hd_id}}&title={{list.title}}" class="sui-btn btn-success"> {{'核销'|translate}} </a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="total" get-data="getList(pageNo)"></pager>
    <!-- 分页end -->
</div>